/**
 * Created by Administrator on 2016/7/29.
 */
"use strict";
swan_pc.config(
    function($stateProvider) {
        $stateProvider
            .state('message', {
                parent: 'site',
                url: '/message',
                views: {
                    'content@': {
                        templateUrl: 'scripts/components/yue/message/message.html',
                        controller: 'MessageController'
                    }
                }
            })
            .state('messagePersonalList', {
                parent: 'message',
                url: '/messagePersionList',
                views: {
                    'MessageShow@message': {
                        templateUrl:"scripts/components/yue/message/messagepersonallist/messagepersionlist.html",
                        controller: 'MessagePersionalController'
                    }
                }
            })
            .state("addmessage",{
                parent:"message",
                url:"/addmessage",
                views:{
                    "MessageShow@message":{
                        templateUrl:"scripts/components/yue/message/addmessage/addmessage.html",
                        controller:"AddMessageController"
                    }
                }
            })
    })